*{
    margin: 0;
    padding: 0;
}
html,body{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
#app{
    width: 100%;
    height: 100%;
}
#container {
  position: relative;
  width: 100%;
  height: 100%;
}
#container #graph-panel {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background: #222;
  border: 1px solid #333;
}
/* 测试菜单栏 */
#container .left-toolbar {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 45px;
  height: 100%;
  background-color: #fafafa;
  border-right: 1px solid #e5e2e2;
  display: none;
}
#container .left-toolbar ul li {
  height: 35px;
  padding: 0;
  color: #066fba;
  line-height: 35px;
  text-align: center;
  cursor: pointer;
  list-style-type: none;
}
#container .left-toolbar ul li i {
  font-size: 18px;
}
#container .left-toolbar ul li:hover {
  color: #fff;
  background-color: #6ea36d;
}
/* 右键弹框样式 */
#container .nodeMenuDialog {
  position: absolute;
  z-index: 100;
  display: none;
  min-width: 100px;
  margin: 0;
  padding: 2px 3px;
  overflow: hidden;
  color: #333;
  background: #f9f9f9;
  border: 1px solid #e3e6eb;
  border-radius: 5px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  transform: translate(0, 15px) scale(0.95);
  cursor: pointer;
  transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}
#container .nodeMenuDialog li {
  position: relative;
  display: block;
  margin: 0;
  padding: 0 10px;
  line-height: 30px;
  white-space: nowrap;
  text-align: center;
  border-radius: 5px;
}
#container .nodeMenuDialog li:hover {
  background-color: #c3e5fd;
}
